<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <% String path = request.getContextPath();%>
	<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
	<c:forEach items="${users }" var="user" varStatus="status">
		<tr>
			<td>${user.userinfoId}</td>
			<td>${user.nickname }</td>
			<td>${user.username }</td>
			<td>${user.postCount }</td>
			<!-- 禁言判断 -->
			<c:if test="${user.spackTime eq 0 }" var="spack">
				<td><span class="badge badge-primary">否</span></td>
			</c:if>
			<c:if test="${not spack }">
				<td><span class="badge badge-primary">是</span></td>
			</c:if>
			<!-- 拉黑判断 -->
			<c:if test="${user.enable }" var="black">
				<td><span class="badge badge-primary">否</span></td>
			</c:if>
			<c:if test="${not black }">
			  	<td><span class="badge badge-primary">是</span></td>
			</c:if>
			<!--举报判断  -->
			<c:if test="${user.report eq 0 }" var="report">
				<td><span class="badge badge-primary">否</span></td>
			</c:if>
			<c:if test="${not report }">
			  	<td><span class="badge badge-primary">是</span></td>
			</c:if>
		</tr>
	</c:forEach>